package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.DaoPledgeStatusEnum;
import com.sc.nft.sup.SuperEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * dao质押活动表(sc_dao_pledge)实体类
 *
 * @author jinpinhai
 * @since 2024-11-26 17:14:03
 * @description Generator
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_dao_pledge")
public class DaoPledge extends SuperEntity<DaoPledge> implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * daoId
     */
    private Long daoId;
    /**
     * 活动名称
     */
    private String name;
    /**
     * 活动封面
     */
    private String coverPicture;
    /**
     * 活动主图
     */
    private String masterPicture;
    /**
     * 开始时间
     */
    private Date startTime;
    /**
     * 结束时间
     */
    private Date endTime;
    /**
     * 上架状态
     */
    private Boolean status;
    /**
     * 活动规则
     */
    private String activeRule;
    /**
     * 直推比例
     */
    private BigDecimal pushRatio;
    /**
     * 消耗共识度
     */
    private Boolean consumeConsensus;
    /**
     * 乐观锁
     */
    private Integer version;

}